/*
 *    Copyright (c) 2018-2025, cloud All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the pig4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: cloud
 */

package com.fuyao.cloud.admin.bulletin.service;

import com.fuyao.cloud.admin.bulletin.Bulletin;
import com.fuyao.cloud.admin.bulletin.vo.BulletinVO;
import com.fuyao.cloud.common.biz.service.FyBaseService;
import com.fuyao.cloud.common.core.util.R;

import java.util.List;

/**
 * 通知公告
 *
 * @author lyhills
 * @date 2023-06-29 17:38:50
 */
public interface BulletinService extends FyBaseService<Bulletin> {

    /**
     * 批量删除
     *
     * @param ids 公告IDS
     * @return R
     */
    R batchDelete(List<Long> ids);

    /**
     * 发布公告
     *
     * @param ids 公告IDS
     * @return R
     */
    R pushBulletin(List<Long> ids);

    /**
     * 查询通知公告集合
     *
     * @return 通知公告集合
     */
    List<BulletinVO> getBulletinList();
}
